package com.css.fxfzfxqh.constants;

public enum GeomTypeEnum {
    /**
     * 面 2
     */
    MULTIPOLYGON,

    /**
     * 线 1
     */
    MULTILINESTRING,

    /**
     * 点 0
     */
    POINT;

    public static String getDescByEnum(GeomTypeEnum geomTypeEnum) {
        switch (geomTypeEnum) {
            case POINT:
                return "点";
            case MULTILINESTRING:
                return "线";
            case MULTIPOLYGON:
                return "面";
        }
        return null;
    }

}
